﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.UI.WebControls;

namespace CoolCode.Web.UI.WebControls
{
    public interface IPager
    {
        event GridViewPageEventHandler PageIndexChanging;
        int PageIndex { get; set; }
        int PageSize { get; set; }
        int PageCount { get; }
        int TotalRecords { get; set; }
    }

    public interface IPagingBinder
    {
        void Bind(IPaginatedList p);
    }
}
